package com.sky.service;

import com.sky.entity.AddressBook;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 马毅爽
* @description 针对表【address_book(地址簿)】的数据库操作Service
* @createDate 2023-11-09 15:52:45
*/
public interface AddressBookService extends IService<AddressBook> {

    List<AddressBook> listByUserId();

    void add(AddressBook addressBook);

    void setDefault(AddressBook id);

    AddressBook queryDefault();
}
